<style type="text/css">
	aside ul li, aside ul h4 {
  		margin-top: 5px !important;
	}
	@media only screen and (max-width: 768px) {
    .fixed {
    		position: static;
    	}
    .sticky {
    	{% if session["direction"] == "rtl" %}
    		float: right !important;
    		padding-right: 0px;
    		padding-left: 0px;
    	{% else %}
    			float: left !important;
    	{% endif %}
    }
    #page-content {
    	{% if session["direction"] == "rtl" %}
    		float: right !important;
    		padding-right: 10px;
    			padding-left: 0px;
    		width: 78% !important;
    	{% else %}
    		float: left !important;
    		margin-right: -14px;
    	{% endif %}
    }
  }
</style>
{% if session["direction"] == "rtl" %}
  <aside class="sticky pull-right col-sm-2">
{% else %}
  <aside class="sticky pull-left col-sm-2">
{% endif %}
  <ul style="margin: 5px 0px; padding: 0px !important;">
    <li><a href="{{ url_for('wiki.index') }}">{{ _("Main Page") }}</a></li>
    <li><a href="{{ url_for('wiki.random') }}">{{ _("Random Page") }}</a></li>
    <li><a href="{{ url_for('wiki.posts') }}">{{ _("All Posts") }}</a></li>
    <li><a href="{{ url_for('wiki.users') }}">{{ _("All Users") }}</a></li>
  </ul>
</aside>
